package com.meilai.project.vo.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 张驰
 * @date 2020/9/15 11:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebUserVO {
    private Long id;
    private Integer is_joined;
    private Integer status;
    private Integer sort;

    private String name;
    private String username;
    private String email;
    private String mobile;
    private String sex;
    private String id_no;
    private String degree;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birth;
    private String marriage;
    private String household_registration;
    private String home_address;
    private String urgent_phone;
    private String role_ids;
    private String role_names;
    private Long index_role_id;
    private Long mini_index_role_id;
    private Long index_page_id;
    private String index_page;
    private String mini_index_page;
    private String department_ids;//,分割
    private List<WebUserDepartmentRelationByUserIdVO> department_list=new ArrayList<>();
}
